package com.bite;

class Student {

    public Student(String name, int age, String stuNum) {
        this.name = name;
        this.age = age;
        this.stuNum = stuNum;
    }

    public String name;
    public int age;
    public String stuNum;//学号

    public void eat() {
        System.out.println(this.name + "正在吃饭");
    }
}

public class Test2 {
    public static void main(String[] args) {
        Student stu1 = new Student("zhangsan", 16, "13525");
    }
}
